<div class="m_rightcon">
 
   <!--购买大户存折-->
   <div class="purchsecon">
      <div class="title"><h3>充值到余额</h3><a href="#" class="right-a bluefont">不知道怎么充值？</a></div>
      <div class="progress_box recharge_con">
        <form action="{:U('User/Order/rechargepay')}" method="post" id="formbox">
        <dl>
          <dt>请输入您的充值金额</dt>
          <dd><input type="text" class="pay-box" name="money_f" /></dd>
          <dd>财大户将为您支付充值手续费( 详情请参考<a href="#" class="bluefont">《费用说明 》</a>)。</dd>
        </dl>   
        <dl>
          <dt>请选择充值方式</dt>
          <dd>
          <volist name="Payment" id="pr" key="k">
          <span><label><input name="payfor" type="radio" value="{$pr[id]}" class="pay-check" {if $k==1}checked="checked"{/if} /><img src="{$pr[thumb]}" /></label></span>
          </volist>
          </dd>
        </dl>  
        <div class="rechage">
          <a href="#" class="yellowbtn" data-reveal-id="paybox" data-animation="fade">充值</a>
        </div>
        </form>   
      </div>

   </div>

<!--在线支付提示-->
<div id="paybox" class="reveal-modal">
 <h3>在线支付提示</h3>
  <div class="cellform">
  <form action="{:U('User/Index/updateUserIdcard')}" method="post">
     
    <dl class="hq-row">
      <dt>身份证号码：</dt>
      <dd>
        <p>支付完成前请不要关闭此支付验证码窗口。</p>   
        <p>支付完成后，请根据您支付情况点击下面按钮。</p>   
      </dd>
    </dl>
    <dl class="hq-row">
      <dt></dt>
      <dd>
        <input type="buttom" onclick="location='{:U('User/Pay/failRecharge')}';" class="smallbtn_y" value="遇到问题" style="background:#dbdbdb;">      
        <input type="buttom" onclick="formsubmit();" class="smallbtn_y" value="支付成功">      
      </dd>
    </dl>
    </form>
  </div>
  <a class="close-reveal-modal box_cancel">&#215;</a>
</div>
<script type="text/javascript">
function formsubmit(){
  var money=$('.pay-box').val();
  if(money==""){
     alert("您还没有输入充值金额！");
  }else{
    $('#formbox').submit();
  }
     
}
</script>                                                                                                                                                                                                                                                                                                                                                                                                                                                